<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewMovEncargaTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewMovEncargaLabel_idMovEncar}"/>
                    <h:outputText value="#{movEncargaController.selected.idMovEncar}" title="#{bundle.ViewMovEncargaTitle_idMovEncar}"/>
                    <h:outputText value="#{bundle.ViewMovEncargaLabel_fechaInicio}"/>
                    <h:outputText value="#{movEncargaController.selected.fechaInicio}" title="#{bundle.ViewMovEncargaTitle_fechaInicio}">
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:outputText>
                    <h:outputText value="#{bundle.ViewMovEncargaLabel_fechaFin}"/>
                    <h:outputText value="#{movEncargaController.selected.fechaFin}" title="#{bundle.ViewMovEncargaTitle_fechaFin}">
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:outputText>
                    <h:outputText value="#{bundle.ViewMovEncargaLabel_trabajador}"/>
                    <h:outputText value="#{movEncargaController.selected.trabajador}" title="#{bundle.ViewMovEncargaTitle_trabajador}"/>
                    <h:outputText value="#{bundle.ViewMovEncargaLabel_estado}"/>
                    <h:outputText value="#{movEncargaController.selected.estado}" title="#{bundle.ViewMovEncargaTitle_estado}"/>
                    <h:outputText value="#{bundle.ViewMovEncargaLabel_cargoRespon}"/>
                    <h:outputText value="#{movEncargaController.selected.cargoRespon}" title="#{bundle.ViewMovEncargaTitle_cargoRespon}"/>
                    <h:outputText value="#{bundle.ViewMovEncargaLabel_area}"/>
                    <h:outputText value="#{movEncargaController.selected.area}" title="#{bundle.ViewMovEncargaTitle_area}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{movEncargaController.destroyAndView}" value="#{bundle.ViewMovEncargaDestroyLink}"/>
                <br />
                <br />
                <h:link outcome="Edit" value="#{bundle.ViewMovEncargaEditLink}"/>
                <br />
                <h:commandLink action="#{movEncargaController.prepareCreate}" value="#{bundle.ViewMovEncargaCreateLink}" />
                <br />
                <h:commandLink action="#{movEncargaController.prepareList}" value="#{bundle.ViewMovEncargaShowAllLink}"/>
                <br />
                <br />
                <h:link outcome="/index" value="#{bundle.ViewMovEncargaIndexLink}"/>

            </h:form>
        </ui:define>
    </ui:composition>

</html>
